﻿using UnityEngine;
using Anderson.PluginFramework;

public class GameObjectPlugin : MonoBehaviour, IPluginActivator
{
    #region IPluginActivator
    private IPlugin plugin;
    public void Init(IFramework framework, IPlugin plugin)
    {
        this.plugin = plugin;
        plugin.Log.Debug("GameObjectPlugin.Init");
    }

    public void Run()
    {
        plugin.Log.Debug("GameObjectPlugin.Run");
    }

    public void Stop()
    {
        plugin.Log.Debug("GameObjectPlugin.Stop");
    }
    #endregion

    #region MonoBehaviour
    // Use this for initialization
    void Start ()
    {
        Debug.Log("MonoBehaviour.Start");	
	}
    #endregion
}
